﻿using OneSpider.API;
using OneSpider.Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OneSpider
{
    class Program
    {
        static void Main(string[] args)
        {
            Spider spider = new Spider();
            spider.RunAsync().Wait();

            ApiServiceV2 apiService = new ApiServiceV2();
            ISpider spider2 = new SpiderV2(apiService);
            spider2.Run().Wait();
        }
    }
}
